package com.hk.housekeeping.order.utils;

public enum ResponseCode {
    ORDER_DATA_GET_ERROR(400, "订单数据获取失败"),
    TRADE_DATA_GET_ERROR(401, "交易单数据获取失败"),
    ITEM_DATA_GET_ERROR(403, "项目数据获取失败"),
    ORDER_SEARCH_ERROR(404, "订单查询有误"),
    STATE_PHONE_SEARCH_ERROR(405, "双查询失败");
    private int status;
    private String msg;

    ResponseCode() {
    }

    ResponseCode(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }

}
